import Vue from 'vue'
import App from './App.vue'
import router from '@/router'
import "@/mobile/flexible"
import "@/styles/reset.css"
import "@/assets/fonts/iconfont.css"

// vant组件库
import { Tabbar, TabbarItem, NavBar, Image as VanImage, Col, Row, List, Cell, Search } from "vant"
const usedCp = [Tabbar, TabbarItem, NavBar, VanImage, Col, Row, List, Cell, Search]
// 全局注册组件
usedCp.forEach(cp => Vue.use(cp))

Vue.config.productionTip = false

new Vue({
  render: h => h(App),
  router
}).$mount('#app')
